using MediatR;
using UniversalAdmin.Domain.Entities.App;
using UniversalAdmin.Domain.Common;

namespace UniversalAdmin.Domain.DomainEvents;

public class OperationLogCreatedEvent : IDomainEvent, INotification
{
    public AppOperationLog Log { get; }
    public DateTime OccurredOn { get; }
    public OperationLogCreatedEvent(AppOperationLog log)
    {
        Log = log;
        OccurredOn = DateTime.UtcNow;
    }
} 